//
//  YMPlayer.h
//  YMDemo
//
//  Created by admin on 2022/3/11.
//
/*
 观众端播放UIView
 */
#import <Foundation/Foundation.h>
#import <IJKMediaFramework/IJKMediaFramework.h>
NS_ASSUME_NONNULL_BEGIN

@interface YMPlayerView : UIView

+ (nullable instancetype)playerWithURL:(nullable NSString *)URL;
@property (nonatomic,strong)NSString *playerURL;
@property (nonatomic, strong) id <IJKMediaPlayback> player;
@property (nonatomic, strong) IJKFFOptions* options;
@property (nonatomic, strong) UIView *playerView;
-(void)stopPlay;



@end

NS_ASSUME_NONNULL_END
